﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/Member/UserManage.master"
    AutoEventWireup="true" CodeFile="SincereAgentAdd.aspx.cs" Inherits="Member_Agent_SincereAgentAdd"
    Title="诚招代理加盟" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="Server">

    <script type="text/javascript" src="../../JS/js1.js"></script>

    <div class="inkg mar_top">
        <form id="form1" action="">
        <strong class="inkgt">诚招代理加盟</strong>
        <div class="intip mar_top">
            <strong class="intipt">提&nbsp;示：</strong>
            <p>
                ·产品关键字请出现在标题中，可让您的信息更容易被搜索到。</p>
            <p>
                ·详细的产品简介，可提高客户关注度。</p>
            <i class="lt"></i><i class="lb"></i>
        </div>
        <asp:HiddenField ID="txtProvince" runat="server"></asp:HiddenField>
        <asp:HiddenField ID="txtCity" runat="server"></asp:HiddenField>
        <asp:HiddenField ID="txtCounty" runat="server"></asp:HiddenField>
        <table border="0" cellpadding="0" cellspacing="0" class="addtb">
            <thead>
                <tr>
                    <td colspan="2">
                        诚招代理加盟 <span class="f_c00">*</span>为必填项
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td width="17%" class="tblt">
                        代理加盟名称：<span class="red">*</span>
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox>
                        </span>
                        <div id="txt0">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        请选择分类：<span class="red">*</span>
                    </td>
                    <td>
                        <asp:ListBox ID="lstParentType" runat="server" AutoPostBack="True" DataSourceID="sdsBindParentType"
                            DataTextField="Name" DataValueField="ID" Height="140px" OnSelectedIndexChanged="lstParentType_SelectedIndexChanged"
                            Width="132px"></asp:ListBox>
                        <asp:ListBox ID="lstSonType" runat="server" Height="140px" Width="132px"></asp:ListBox>
                        <asp:SqlDataSource ID="sdsBindParentType" runat="server" ConnectionString="<%$ ConnectionStrings:sqlData %>"
                            SelectCommand="SELECT * FROM [W_AgentType] WHERE ([ParentID] = @ParentID)">
                            <SelectParameters>
                                <asp:Parameter DefaultValue="0" Name="ParentID" Type="Int32" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        信息标题：<span class="red">*</span>
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt1">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        信息有效期：<span class="red">*</span>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlValidity" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="10">10天</asp:ListItem>
                            <asp:ListItem Value="20">20天</asp:ListItem>
                            <asp:ListItem Value="30">1个月</asp:ListItem>
                            <asp:ListItem Value="90">3个月</asp:ListItem>
                            <asp:ListItem Value="180" Selected="True">6个月</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        品牌：<span class="red">*</span>
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtBrand" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt2">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        基本投资额：
                    </td>
                    <td>
                        <asp:DropDownList ID="dropInvestment" runat="server">
                            <asp:ListItem>请选择</asp:ListItem>
                            <asp:ListItem>0-0.5万</asp:ListItem>
                            <asp:ListItem>0.5-1万</asp:ListItem>
                            <asp:ListItem>1-5万</asp:ListItem>
                            <asp:ListItem>5-10万</asp:ListItem>
                            <asp:ListItem>10-50万</asp:ListItem>
                            <asp:ListItem>50-100万</asp:ListItem>
                            <asp:ListItem>大于100万</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        保证金额：<span class="red">*</span>
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtAmount" runat="server" Width="200px"></asp:TextBox>
                            元</span><div id="txt3">
                            </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        加盟费：<span class="red">*</span>
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtInitialFee" runat="server" Width="200px"></asp:TextBox>
                            元</span><div id="txt4">
                            </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        项目区域要求：
                    </td>
                    <td>
                        <asp:DropDownList ID="dropRequire" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        品牌发源地：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtCradle" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt5">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        预计回报率：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtPayback" runat="server" Width="200px"></asp:TextBox>
                            %</span>
                        <div id="txt6">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        预计回报周期：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtPeriod" runat="server" Width="200px"></asp:TextBox>
                            年</span><div id="txt7">
                            </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        特许权使用费：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtConcession" runat="server" Width="200px"></asp:TextBox>
                            元</span><div id="txt8">
                            </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        合同期限：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtContract" runat="server" Width="200px"></asp:TextBox>
                            年</span><div id="txt9">
                            </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        加盟商总数：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtCount" runat="server" Width="200px"></asp:TextBox>
                            家</span><div id="txt10">
                            </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        特许经营时间：
                    </td>
                    <td>
                        <span>
                            <asp:TextBox ID="txtBusinessDate" runat="server" Width="200px"></asp:TextBox>
                            年</span>
                        <div id="txt11">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        是否多品牌经营：
                    </td>
                    <td>
                        <asp:RadioButtonList ID="radlisMoreBrand" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="True">是</asp:ListItem>
                            <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        经营模式：
                    </td>
                    <td>
                        <asp:CheckBoxList ID="chklBusinessMode" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="0">经销</asp:ListItem>
                            <asp:ListItem Value="1">代理</asp:ListItem>
                            <asp:ListItem Value="2">特许</asp:ListItem>
                            <asp:ListItem Value="3">合作</asp:ListItem>
                            <asp:ListItem Value="4">自由连锁</asp:ListItem>
                            <asp:ListItem Value="5">直营</asp:ListItem>
                            <asp:ListItem Value="6">其他</asp:ListItem>
                        </asp:CheckBoxList>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        发展模式：
                    </td>
                    <td>
                        <asp:CheckBoxList ID="chklDevelopmental" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="0">经销</asp:ListItem>
                            <asp:ListItem Value="1">区域代理</asp:ListItem>
                            <asp:ListItem Value="2">自由代理</asp:ListItem>
                            <asp:ListItem Value="3">单店特许</asp:ListItem>
                            <asp:ListItem Value="4">区域开发</asp:ListItem>
                            <asp:ListItem Value="5">二级特许</asp:ListItem>
                            <asp:ListItem Value="6">其他</asp:ListItem>
                        </asp:CheckBoxList>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        详细说明：
                    </td>
                    <td>
                        <FCKeditorV2:FCKeditor ID="Detail" runat="server" BasePath="~/Control/fckeditor/"
                            ToolbarSet="Basic" Height="400" Width="640">
                        </FCKeditorV2:FCKeditor>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        上传图片：
                    </td>
                    <td>
                        <asp:HiddenField ID="HiddUserID" runat="server" />
                        <asp:HiddenField ID="ImgUrl1" runat="server" />
                        <a href="" id="txturldz" target="_blank">
                            <img border="0" src="../../Images/System/wutu.gif" id="ImgUrl" alt="" runat="server"
                                style="width: 106px; height: 95px" /></a><br />
                        <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                        <div id="rowTest" style="display: none">
                            <iframe name="tag" src="../Tool/Upload.html" style="width: 550px; height: 120px"
                                frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                            </iframe>
                        </div>
                        <div id="Upload">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tblt">
                        类型：
                    </td>
                    <td>
                        <asp:DropDownList ID="sinType" runat="server">
                            <asp:ListItem Value="0">招商</asp:ListItem>
                            <asp:ListItem Value="1">代理</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="height: 45px; border-bottom: 1px #CCCCCC solid;">
                        <asp:Button ID="btnSave" runat="server" Text="我要发布" OnClick="btnSave_Click" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="i_button" />
                    </td>
                </tr>
            </tbody>
        </table>
        </form>
    </div>

    <script type="text/javascript" src="../../JS/Common.js"></script>

    <script type="text/javascript" src="../js/SincereAgent.js"></script>

</asp:Content>
